package 滑动窗口;

import java.sql.SQLOutput;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int score = scanner.nextInt();

        //write your code here......

            try {
                if(score>=0 && score <=100){
                    System.out.println(score);
                }  else{

                throw new  ScoreException ();
            }
            }catch (ScoreException e){
                System.out.println("分数不合法");
                e.printStackTrace();

            }

    }
}

class ScoreException extends Exception {

    //write your code here......





}